#在部署好ES的Linux的执行如下命令，添加数据
curl -XPUT 'http://192.168.190.104:9200/user/items/1?pretty=1' -d '
{
	"id":1,
	"name":"John Smith",
	"gender":"male",
	"dateOfBirth":"2014-09-13",
	"email":"john@smith.com",
	"height":1.89,
	"resellers":{
		"id":"11_1",
		"name":"wangxiao",
		"product_id":"no0001",
		"des":"This is a Lenovo notebook, CPU configuration is I7",
		"address":{
			"code":"001002",
			"country":"USA"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/2?pretty=1' -d '
{
	"id":2,
	"name":"mary jones",
	"gender":"female",
	"dateOfBirth":"2011-07-13",
	"email":"mary@jones.com",
	"height":1.92,
	"resellers":{
		"id":"11_1",
		"name":"wangxiao",
		"product_id":"no0002",
		"des":"This is a blue and white porcelain cup",
		"address":{
			"code":"001002",
			"country":"CHAIN"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/3?pretty=1' -d '
{
	"id":3,
	"name":"sheng yuan",
	"gender":"female",
	"dateOfBirth":"1986-08-13",
	"email":"sheng@yuan.com",
	"height":1.72,
	"resellers":{
		"id":"11_2",
		"name":"wangfeng",
		"product_id":"no0003",
		"des":"This is a blue and white porcelain cup",
		"address":{
			"code":"001002",
			"country":"CHAIN"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/4?pretty=1' -d '
{
	"id":4,
	"name":"yuanyuan yin",
	"gender":"female",
	"dateOfBirth":"1987-10-13",
	"email":"sheng@yuan.com",
	"height":1.78,
	"resellers":{
		"id":"11_3",
		"name":"Lbj james",
		"product_id":"no0004",
		"des":"This is an NBA professional league basketball with the ball, above the signature of James",
		"address":{
			"code":"001003",
			"country":"USA"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/5?pretty=1' -d '
{
	"id":2,
	"name":"Mary Jones",
	"gender":"female",
	"dateOfBirth":"2011-07-13",
	"email":"mary@jones.com",
	"height":1.92,
	"resellers":{
		"id":"11_4",
		"name":"Elasticsearch",
		"product_id":"no0004",
		"des":"Elasticsearch means full text search has never been so easy",
		"address":{
			"code":"001005",
			"country":"USA"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/6?pretty=1' -d '
{
	"id":6,
	"name":"王秀化",
	"gender":"male",
	"dateOfBirth":"1992-02-13",
	"email":"wangxiu@hua.com",
	"height":1.62,
	"resellers":{
		"id":"11_7",
		"name":"Elasticsearch",
		"product_id":"no0007",
		"des":"Elasticsearch means full text search has never been so easy",
		"address":{
			"code":"001007",
			"country":"CHAIN"
		}
	}
}
'
curl -XPUT 'http://192.168.190.104:9200/user/items/6?pretty=1' -d '
{
	"id":6,
	"name":"wangxiuhua",
	"gender":"female",
	"dateOfBirth":"1992-02-13",
	"email":"wangxiu@hua.com",
	"height":1.62,
	"resellers":{
		"id":"11_7",
		"name":"Elasticsearch",
		"product_id":"no0007",
		"des":"Elasticsearch means full text search has never been so easy",
		"address":{
			"code":"001007",
			"country":"CHAIN"
		}
	}
}
'
